package com.shenzhenai.it_hei_ma.a01threadcase1;

/**
 * @author huangzehui
 * @date 2025/8/26 13:33 周二
 * @description
 */
public class MyThread extends Thread{
    @Override
    public void run() {
        // 书写线程要执行的代码
        for (int i = 0; i < 100; i++) {
            System.out.println(getName()+": HelloWorld");
        }
    }
}
